﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrTourBooking.ascx.cs"
    Inherits="Controls_Tour_ctrTourBooking" %>

<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register src="ctrTourNavigation.ascx" tagname="ctrTourNavigation" tagprefix="uc3" %>
<%@ Register src="../../Common/Alert.ascx" tagname="Alert" tagprefix="uc1" %>
<uc3:ctrTourNavigation ID="ctrTourNavigation1" runat="server" />

<div style ="padding:10px 10px 60px 10px; border: 1px solid #E8E8E8; margin-top:15px;">
<div style ="font-size:15px; font-weight:bold ; color:Blue">
<uc1:Alert ID="Alert1" runat="server" />
    
</div>
<div style ="padding-top:5px; padding-bottom:10px; padding-left:10px;">
    <div style ="text-transform:uppercase; padding-bottom:10px"><h2><asp:Label ID="lblBooking" runat="server" ></asp:Label></h2></div>
    <div><asp:Literal ID="ltrContentBooking" runat ="server" ></asp:Literal></div>
</div>

<div style="padding-left:10px;">
 <div style ="padding:10px 0px 5px 0px">  <h3><label style="font-weight:bold; font-size:14px; ">Tour Information</label></h3></div>
  
    <div class="spacer-solid-dotted">
        &nbsp;</div>
   
     <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="Label1" runat="server" CssClass="lable"    Text="Tour Name" Width="150px"></asp:Label>
         <asp:TextBox ID="txtTourName" runat="server" Width="300px" MaxLength="240" ValidationGroup="Input" CssClass="textbox"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label ID="lblDuration" runat="server" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtDuration" runat="server" Width="300px" MaxLength="240" ValidationGroup="Input" CssClass="textbox"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label ID="lblStartDate" runat="server" CssClass="lable"    Width="150px"></asp:Label>
        <asp:DropDownList ID="ddlDay1" Width="40px" runat="server"></asp:DropDownList>
        <asp:DropDownList ID="ddlMonth1" Width="50px" runat="server"></asp:DropDownList>
        <asp:DropDownList ID="ddlYear1" Width="60px" runat="server"></asp:DropDownList>
      
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
   
           <asp:Label ID="lblFinishDate" runat="server" CssClass="lable"    Width="150px"></asp:Label>
        <asp:DropDownList ID="ddlDay2" Width="40px" runat="server"></asp:DropDownList>
        <asp:DropDownList ID="ddlMonth2" Width="50px" runat="server"></asp:DropDownList>
        <asp:DropDownList ID="ddlYear2" Width="60px" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblAdult" CssClass="lable"    Width="150px"></asp:Label>
        <asp:DropDownList ID="ddlAdult" Width="40px" runat="server"></asp:DropDownList>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label runat="server" ID="lblChild" CssClass="lable"    Width="70px"></asp:Label>
        <asp:DropDownList ID="ddlChild" Width="40px" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label ID="lblRoomType" runat="server" CssClass="lable"    Width="150px"></asp:Label>
        <asp:DropDownList ID="ddlRoomType" runat="server" Width="140px">
        </asp:DropDownList>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="lblExtraBed" runat="server" CssClass="lable"    Width="70px"></asp:Label>
        <asp:DropDownList ID="ddlExtraBed" Width="70px" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label ID="lblStarRating" runat="server" CssClass="lable"    Width="150px"></asp:Label>
       

        <asp:DropDownList ID="ddlStarRating" Width="70px" runat="server">
                <asp:ListItem Value="1">1 Star</asp:ListItem>
                <asp:ListItem Value="2">2 Star</asp:ListItem>
                <asp:ListItem Value="3">3 Star</asp:ListItem>
                <asp:ListItem Value="4">4 Star</asp:ListItem>
                <asp:ListItem Value="5">5 Star</asp:ListItem>
                
            
            </asp:DropDownList>
    </div>
   
   <div style ="padding:10px 0px 5px 0px"> <h3><label style="font-weight:bold;font-size:14px;">Pax Infomation</label></h3></div>
   <div class="spacer-solid-dotted">
        &nbsp;</div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblContactFullname" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtContactFullname" runat="server" Width="300px" MaxLength="240" CssClass="textbox"
            ValidationGroup="Input"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>&nbsp;&nbsp;&nbsp;
        <asp:Label runat="server" ID="lblFullNameTitle" CssClass="lable"    Width="50px"></asp:Label>
        <asp:DropDownList ID="ddlFullNameTitle" Width="70px" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblContactEmail" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtContactEmail" runat="server" Width="300px" MaxLength="240"  CssClass="textbox"
            ValidationGroup="Input"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblContactPhone" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtContactPhone" runat="server" Width="150px" MaxLength="240" CssClass="textbox"
            ValidationGroup="Input"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:Label runat="server" ID="lblFax" CssClass="lable"    Width="40px"></asp:Label>
        <asp:TextBox ID="txtFax" runat="server" Width="150px" MaxLength="240"  CssClass="textbox"
            ValidationGroup="Input"></asp:TextBox>
    </div>
    
    

    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblAddress" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtContactAddress" runat="server" Width="450px" MaxLength="240"
            CssClass="textbox"></asp:TextBox>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblNationality" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtNationality" runat="server" Width="300px" MaxLength="240"
           CssClass="textbox"></asp:TextBox>
    </div>


    <div style="padding-bottom: 6px; vertical-align: text-top">
       
    </div>
     <div style="padding-bottom: 6px; vertical-align: text-top">
      <asp:Label runat="server" ID="lblFlight" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtFlight" runat="server" Width="150px" MaxLength="240"
            CssClass="textbox"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label runat="server" ID="lblTimeRef" CssClass="lable"    Width="100px"></asp:Label>
        <asp:TextBox ID="txtTimeRef" runat="server" Width="150px" MaxLength="240"
            CssClass="textbox"></asp:TextBox>
    </div>




    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblPayment" CssClass="lable"    Width="150px"></asp:Label>
        <asp:DropDownList ID="ddlPayment" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 15px; vertical-align: text-top">
        <asp:Label runat="server" ID="lblOtherRequest" CssClass="lable"    Width="150px"></asp:Label>
        <asp:TextBox ID="txtOtherRequest" runat="server" Width="450px"  Height ="100px"
            TextMode="MultiLine"></asp:TextBox>
    </div>
    <div style="padding-bottom: 6px; vertical-align: text-top">
        <asp:Label ID="lblHow" runat="server" CssClass="lable"   Width="150px"></asp:Label>
        <asp:DropDownList runat="server" ID="ddlHow" Width="150px">
            <asp:ListItem Value="1">Internet</asp:ListItem>
            <asp:ListItem Value="2">Friends</asp:ListItem>
            <asp:ListItem Value="3">Magazine</asp:ListItem>
            <asp:ListItem Value="4">Others</asp:ListItem>
        </asp:DropDownList>
    </div>
    <asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server"
        ValidationGroup="Input" ShowSummary="False" />
    <div style ="padding-left:155px">
        <br />
        <asp:ImageButton ID="btnSave" runat="server" Text="Submit" OnClick="btnSave_Click" ValidationGroup="Input" ImageUrl="~/Images/Layout/submitform-input-button-bg.png"/>
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:ImageButton ID="btnReset" runat="server" Text="Reset" 
            ImageUrl="~/Images/Layout/reset-input-button-bg.png" 
            onclick="btnReset_Click"/>
    </div>





    <div style="padding-top:15px"><asp:Literal ID="ltrDifficultiesWhileSending" runat ="server" ></asp:Literal></div>

    </div>
    <asp:RequiredFieldValidator ID="rfvContactFullname" runat="server" SetFocusOnError="true"
        ControlToValidate="txtContactFullname" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="rfvContactEmail" runat="server" SetFocusOnError="true"
        ControlToValidate="txtContactEmail" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>

    <asp:RequiredFieldValidator ID="rfvContactPhone" runat="server" SetFocusOnError="true"
        ControlToValidate="txtContactPhone" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>

    <asp:RegularExpressionValidator ID="revEmail" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
        ControlToValidate="txtContactEmail" Display="None" ValidationGroup="Input" SetFocusOnError="True" Text="*">
    </asp:RegularExpressionValidator>

     <asp:RequiredFieldValidator ID="rfvTour" runat="server" SetFocusOnError="true"
        ControlToValidate="txtTourName" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
          <asp:RequiredFieldValidator ID="rfvDuration" runat="server" SetFocusOnError="true"
        ControlToValidate="txtDuration" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>


</div>
